function photoviewarticle(){
    return this;
}
var controlFns = {
    index : function(args){
        var aid;
        if(args.indexOf('_') > -1){
            aid = args.substring(0,args.indexOf('_'));
        }else{
            aid = args;
        }
        this.photoarticle(aid);
    },
    photoarticle : function(aid){
        //var aid = this.readData('aid',this.req.__get, 0)||'';
        var php = {
            'imglist' : 'store::/news/good?id='+aid
        };
        var mSelf = this;
        this.setSDefault(php);
        this.bridgeMuch(php);
        this.listenOver(function(data){

            data.condition = this.req.__get;

            data.groupPg = {};

            data._CSSLinks = ['h5/css/photoview'];
            data._JSLinks  = ['h5/min/photoviewarticle'];
            data.pageTitle = 'photoviewarticle';
            mSelf.render('photoview/photoviewarticle.html', data);
        });
    },

    items_apis: function(params){
        var php = {
            'itemlist' : 'store::/news/good'

        };
        this.ajaxTo(php[params]);
    }
};
exports.__create = controller.__create(photoviewarticle , controlFns);
